package com.account_main.prisist.repository.impl;


import com.account_main.mapper.UserMapper;
import com.account_main.prisist.repository.IUserRepository;
import com.account_protocol.pojo.po.UserPO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository
public class UserRepository implements IUserRepository {
    @Autowired
    private UserMapper userMapper;
    public int addUser(UserPO userPO){
        return userMapper.insert(userPO);
    }
}
